package com.zwd.deep.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 诊断记录表
 * </p>
 *
 * @author zwd
 * @since 2025-02-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("diagnoses")
public class Diagnoses implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 诊断记录唯一标识
     */
    @TableId(value = "diagnosis_id", type = IdType.AUTO)
    private Integer diagnosisId;

    /**
     * 患者ID（关联用户表）
     */
    private Integer userId;

    /**
     * 诊断医生ID（关联医生表）
     */
    private Integer doctorId;

    /**
     * 诊断时间
     */
    private LocalDateTime diagnosisTime;

    /**
     * 主诉
     */
    private String chiefComplaint;

    /**
     * 现病史
     */
    private String medicalHistory;

    /**
     * 既往史
     */
    private String pastHistory;

    /**
     * 诊断结果
     */
    private String diagnosisResult;

    /**
     * 医生建议
     */
    private String doctorSuggestions;

    /**
     * CT影像路径
     */
    private String ctImagePath;


}
